package com.jinzecloud.reportapproval.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jinzecloud.reportapproval.utils.PageUtils;
import com.jinzecloud.reportapproval.utils.Query;

import com.jinzecloud.reportapproval.mapper.SpecificationSheetCheckSheetMapper;
import com.jinzecloud.reportapproval.bean.SpecificationSheetCheckSheet;
import com.jinzecloud.reportapproval.service.SpecificationSheetCheckSheetService;


@Service("specificationSheetCheckSheetService")
public class SpecificationSheetCheckSheetServiceImpl extends ServiceImpl<SpecificationSheetCheckSheetMapper, SpecificationSheetCheckSheet> implements SpecificationSheetCheckSheetService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SpecificationSheetCheckSheet> page = this.page(
                new Query<SpecificationSheetCheckSheet>().getPage(params),
                new QueryWrapper<SpecificationSheetCheckSheet>()
        );

        return new PageUtils(page);
    }

}